Skip to content

[ENH] Add poisson regressor with statsmodel#1016

Open
Ahmed-Zahran02 wants to merge 2 commits intosktime:mainfrom
Ahmed-Zahran02:add-regressor
Open

[ENH] Add poisson regressor with statsmodel#1016
Ahmed-Zahran02 wants to merge 2 commits intosktime:mainfrom
Ahmed-Zahran02:add-regressor

Conversation

@Ahmed-Zahran02
Copy link
Copy Markdown
Contributor

@Ahmed-Zahran02 Ahmed-Zahran02 commented Mar 30, 2026

Reference Issues/PRs

Fix #7

What does this implement/fix? Explain your changes.

This PR adds an adapter for statsmodels's Poisson discrete model with the skpro interface.

Copilot AI review requested due to automatic review settings March 30, 2026 21:46
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new probabilistic regressor adapter that wraps statsmodels’ Poisson model and exposes it through the skpro BaseProbaRegressor interface, and then surfaces it in the public API/docs.

Changes:

  • Added StatsmodelsPoissonRegressor implementation with mean/variance and Poisson distribution predictions.
  • Exported the new regressor from skpro.regression.linear.
  • Included the regressor in the regression API reference docs.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
skpro/regression/linear/_statsmodels_poisson.py New statsmodels-based Poisson regressor adapter with probabilistic predictions.
skpro/regression/linear/__init__.py Re-exports StatsmodelsPoissonRegressor in the linear regression module API.
docs/source/api_reference/regression.rst Adds StatsmodelsPoissonRegressor to the rendered regression API reference list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread skpro/regression/linear/_statsmodels_poisson.py
Comment thread skpro/regression/linear/_statsmodels_poisson.py Outdated
Comment thread skpro/regression/linear/_statsmodels_poisson.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENH] roadmap of probabilistic regressors to implement or to interface

2 participants